﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="TamNgung.ascx.vb" Inherits="Control_MaSoThue_TamNgung" %>
<script type="text/javascript">
    $(function () {
        $(".Date").datepicker({ dateFormat: 'dd/mm/yy' });
    });
</script>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>
                    TẠM NGƯNG / ĐÓNG MÃ SỐ THUẾ
                </h3>
            </div>
            <div class="box_contentform">
                <div class="box_scroll_grid" style="margin-bottom: 0px">
                    <div class="DivRequired">
                        <span class="fieldRequired">&nbsp;</span> trường yêu cầu bắt buộc nhâp
                    </div>
                    <div class="Error">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            CMND / MST: <span class="fieldRequired">&nbsp;</span>
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtMaSoThue" runat="server" CssClass="TextBox"></asp:TextBox>
                                <asp:Button ID="btnCkeck" runat="server" Text="Kiểm tra" CssClass="btn" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            NGÀY TẠM NGƯNG:
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtNgayNgungMST" runat="server" CssClass="TextBox Date"></asp:TextBox>
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            &nbsp;
                        </div>
                        <div class="DivTextBox">
                            <asp:Button ID="btnCapNhat" runat="server" Text="Cập nhật" CssClass="btn" />
                        </div>
                    </div>
                    <asp:GridView ID="grdShow" runat="server" AutoGenerateColumns="False" EmptyDataText="{Không có dữ liệu}"
                        AllowPaging="false" Width='100%' BorderWidth="1px" CssClass="GridBorder">
                        <Columns>
                            <asp:TemplateField HeaderText="Stt">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lblSTT" Text=''></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="5%" HorizontalAlign="Left" />
                            </asp:TemplateField>
                            <asp:BoundField DataField='Ow_TaxCode' HeaderText='MST'>
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayCapNhatMST' HeaderText='Cập Nhật MST' DataFormatString="{0:dd/MM/yyyy}">
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='NgayNgungMST' HeaderText='Ngưng MST' DataFormatString="{0:dd/MM/yyyy}">
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="Hộ kinh doanh">
                                <ItemTemplate>
                                    <asp:HyperLink ID="hplBiz_VietName" runat="server"></asp:HyperLink>
                                </ItemTemplate>
                                <ItemStyle Width='8%' />
                            </asp:TemplateField>
                            <asp:BoundField DataField='Ow_Name' HeaderText='Người đại diện'>
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='CertifiedCode' HeaderText='Giấy CN'>
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="Giới tính">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lblGioTinh" Text=''></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="8%" HorizontalAlign="Left" />
                            </asp:TemplateField>
                            <asp:BoundField DataField='Ow_BirthDate' HeaderText='Ngày sinh'>
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:BoundField DataField='Ow_CardID' HeaderText='CMND'>
                                <ItemStyle Width='8%' />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="Trạng thái">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lblStatusId" Text=''></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="8%" HorizontalAlign="Left" />
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle Height="26px" HorizontalAlign="Left" CssClass="GridHeader" />
                        <RowStyle CssClass="GridRow" Height="23px" />
                        <AlternatingRowStyle CssClass="GridAlterRow" />
                        <PagerStyle CssClass="GridPaged" HorizontalAlign="Right" Height="23px" />
                        <PagerSettings Mode="Numeric" PageButtonCount="2" />
                        <EmptyDataRowStyle CssClass="GridTextEmpty" HorizontalAlign="Center" />
                    </asp:GridView>
                    <div style="clear: both; height: 5px">
                    </div>
                    <div>
                        <%--<asp:Button ID="btnDelete" CssClass="btn" runat="server" Text="Xóa" />--%>
                        <asp:Label ID="lblPage_Size" runat="server" Text="Số bản ghi trên trang:"></asp:Label>
                        <asp:DropDownList ID="drpPage_Size" runat="server" AutoPostBack="True" Width="70px"
                            CssClass="input_form">
                            <asp:ListItem Text="10" Value="10"></asp:ListItem>
                            <asp:ListItem Text="20" Value="20"></asp:ListItem>
                            <asp:ListItem Text="50" Value="50"></asp:ListItem>
                            <asp:ListItem Text="100" Value="100"></asp:ListItem>
                        </asp:DropDownList>
                        <asp:Label ID="lblTotal" runat="server"></asp:Label></div>
                    <div style="width: 100%">
                        <!--phan trang-->
                        <div id="results_resultsNavigationDiv" class="paginationEMP">
                            <ul>
                                <asp:LinkButton ID="lnkFirst" runat="server"></asp:LinkButton>
                                <asp:Repeater ID="rptPage" runat="server">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="lnkTitle" CssClass="page_num" runat="server" OnClick="lnkTitle_Click"></asp:LinkButton>
                                    </ItemTemplate>
                                </asp:Repeater>
                                <asp:LinkButton ID="lnkLast" runat="server"></asp:LinkButton>
                            </ul>
                        </div>
                        <asp:HiddenField ID="hidCount" Value="0" runat="server" />
                        <asp:HiddenField ID="hidIndex_page" Value="0" runat="server" />
                        <asp:HiddenField ID="hidCur_Page" Value="1" runat="server" />
                    </div>
                    <div style='display: none'>
                        <asp:DropDownList ID="drpMessage" runat="server">
                            <asp:ListItem Text='Bạn có chắc chắn muốn xóa bản ghi này không?' Value='0'></asp:ListItem>
                            <asp:ListItem Text='Bạn có chắc chắn muốn xóa bản đã chọn?' Value='1'></asp:ListItem>
                            <asp:ListItem Text='Bạn phải chọn ít nhất một bản ghi.' Value='2'></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div style="display: none">
                <asp:HiddenField ID="hidID" Value="0" runat="server" />
            </div>
        </div>
